//reqHandler.js
function reqHandler(res){
	this.start = function(res){
		res.writeHead(200,{"Content-Type":"text/html"});
		res.end("This is a index page");
	}
	this.show = function(res){
		res.writeHead(200,{"Content-Type":"text/html"});
		res.end("Show page");		
	}
	this.notFound = function(res){
		res.writeHead(200,{"Content-Type":"text/html"});
		res.end("404 NOT FOUND");			
	}
}
module.exports = reqHandler;